#!/bin/bash
ids=123

echo "$ids"
if [ "$ids" == "" ]
then
  echo 'ids is none'
else
  read -p "kill? yes/no?  " order
  echo 'prepare '$order' to kill '
  if [ "$order" == "yes" ]
  then
    echo "kill pids"
  else
    echo "dont kill pids"
    exit 0
  fi
fi
